package scaladuct

/**
 * <p>
 * Created by IntelliJ IDEA.
 * User: zslajchrt
 * Date: Sep 14, 2010
 * Time: 9:49:44 AM
 */

class CustomHint1Handler(val hint: CustomHint1) extends Starter[CustomHint1Handler] {

  private var reversed: Boolean = _

  def newInstance() = phaseHintOne(false)

  def phaseHintOne(reverse: Boolean) = {
    reversed = reverse
    this
  }

  def destroy(instance: CustomHint1Handler) = null

  override def toString = if (reversed)
    ("CustomHint1:" + hint.id).reverse
  else
    "CustomHint1:" + hint.id
}

